﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KetNoi;
using ThucThe;
using System.Data;
namespace DieuKhien
{
    public class NhaHang_dieukhien
    {
        NhaHang_ketnoi kn = new NhaHang_ketnoi();
        public DataTable danhSachNhaHang()
        {
            return kn.danhSachNhaHang();
        }
        public DataTable timNhaHang(NhaHang_thucthe nh)
        {
            return kn.Tim_NhaHang(nh);
        }
        public int themNhaHang(NhaHang_thucthe nh)
        {
            return kn.Them_NhaHang(nh);
        }
        public int suaNhaHang(NhaHang_thucthe nh)
        {
            return kn.Sua_NhaHang(nh);
        }
        public int xoaNhaHang(NhaHang_thucthe nh)
        {
            return kn.Xoa_NhaHang(nh);
        }
    }
}
